<%--
  Created by IntelliJ IDEA.
  User: LoveR
  Date: 2021/7/23
  Time: 17:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>我的关注</title>
</head>
<body>
<header class="header">
    xxx视频
</header>
<ul class="snp">
    <li class="snpLi"><a class="snpLiA" href="#">推荐</a></li>
    <li class="snpLi"><a class="snpLiA" href="#">动漫</a></li>
    <li class="snpLi"><a class="snpLiA" href="#">搞笑</a></li>
    <li class="snpLi"><a class="snpLiA" href="#">时事</a></li>
</ul>


<ul class="vnp">
    <li><a class="vnpLia" href="watch_history.jsp">观看历史</a></li>
    <li><a class="vnpLia" href="my_video.jsp">我的视频</a></li>
    <li><a class="vnpLia" href="my_fans.jsp">我的关注</a></li>
    <li><a class="vnpLia" href="upload_video.jsp">上传视频</a></li>
    <li><a class="vnpLia" href="my_information.jsp">我的资料</a></li>
</ul>

<table width="100%" border="2" cellpadding="1" cellspacing="0">
    <thead>
    <tr bgcolor="#ffe4c4">
        <th>序号</th>
        <th>名称</th>
        <th>头像</th>
    </tr>
    </thead>
    <c:choose>
        <c:when test="${empty requestScope.usersList}">
            <tr>
                <td colspan="5">未查询到数据</td>
            </tr>
        </c:when>
        <c:otherwise>
            <c:forEach items="${requestScope.usersList}" var="users" varStatus="c">
                <tr style="background: ${0!=c.count%2?'skyblue':'white'}">
                    <td>${c.count}</td>
                    <td>${users.name}</td>
                    <td>${users.face}</td>
                </tr>
            </c:forEach>
        </c:otherwise>
    </c:choose>
    <tbody></tbody>
</table>
</body>
</html>
